package com.dai.hystrixDashboard7004;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
//熔断器监控器注解 - 只有在服务提供者的路由上加了@HystrixCommand(fallbackMethod = "getHystrix")这种的才能进行监控
@EnableHystrixDashboard
public class HystrixDashboard7004 {
    public static void main(String[] args){
        SpringApplication.run(HystrixDashboard7004.class,args);
    }
}